package loan.calc.calculator;


import loan.calc.dto.LoanDTO;
import org.springframework.core.Ordered;

public interface Calculator extends Ordered {

    String calculatorCode();

    String calculatorName() ;

    Integer calculatorSort();

    void preCalculate(LoanDTO loan);

    void calculate(LoanDTO loan);

    void postCalculate(LoanDTO loan);
}
